from selenium.webdriver.common.action_chains import ActionChains
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

def compare(a,b,c):
    if a>b and a>c:
        print('a is the biggest one')
    elif b>a and b>c:
        print('b is the biggest one')
    else:
        print('c is the biggest one')


compare(4,5,3)

arr = [5, 6, 8, 3, 2, 8, 9, 12, 34, 55]
def bubble_sort(arr):
    n = len(arr)
    print(n)
    for i in range(n):
        for j in range(0, n-1-i):
            print(arr[i],'n:',n,'i:',i,'j:',j)
            if arr[j] > arr[j+1]:
                arr[j], arr[j+1] = arr[j+1], arr[j]
    return arr

a = bubble_sort(arr)
print(a)
b = a[::-1]
print(b)
n = 10
i = 0
j = n-1-n
